package com.link.play.fit.ai.bean

class CalControlData(
    var dailyPlans: List<DailyPlans> = listOf(),
)

class DailyPlans(
    var day:Int = 1,
    var meals: MutableList<MealsData> = mutableListOf(),
    var workout: WorkoutData?=null

) {
    override fun toString(): String {
        return "DailyPlans(day=$day, meals=$meals, workout=$workout)"
    }
}

class MealsData(
    var mealName:String = "",
    var mealTotalCalories:String = "",
    var mealComponents: List<MealComponentsData> = listOf(),

) {
    override fun toString(): String {
        return "MealsData(mealName='$mealName', mealTotalCalories='$mealTotalCalories', mealComponents=$mealComponents)"
    }
}

class MealComponentsData(
    var mealComponentName:String = "",
    var mealComponentDesc:String = "",
    var mealComponentUnits: List<String> = listOf(),

    ) {
    override fun toString(): String {
        return "MealComponentsData(mealComponentName='$mealComponentName', mealComponentDesc='$mealComponentDesc', mealComponentUnits=$mealComponentUnits)"
    }
}

class WorkoutData(
    var totalCaloriesBurned:String = "",
    var exerciseType:String = "",
    var exercises: List<ExercisesData> = listOf(),

    ) {
    override fun toString(): String {
        return "WorkoutData(totalCaloriesBurned='$totalCaloriesBurned', exerciseType='$exerciseType', exercises=$exercises)"
    }
}

class ExercisesData(
    var exerciseName:String = "",
    var duration:String = "",
    var caloriesBurned: String = "",

    ) {
    override fun toString(): String {
        return "ExercisesData(exerciseName='$exerciseName', duration='$duration', caloriesBurned='$caloriesBurned')"
    }
}